package com.leenleda.ips.entity;


public class SourceEvent {
    private String tag;
    private int state;
    private String InfoType;
    private String data;


    public SourceEvent() {
    }

    public SourceEvent(String tag, int state, String data) {
        this.tag = tag;
        this.state = state;
        this.data = data;
    }

    public SourceEvent(String tag, int state, String infoType, String data) {
        this.tag = tag;
        this.state = state;
        InfoType = infoType;
        this.data = data;
    }

    //    public SourceEvent(String tag, String infoType, String data) {
//        this.tag = tag;
//        this.data = data;
//        InfoType = infoType;
//    }

    public String getInfoType() {
        return InfoType;
    }

    public void setInfoType(String infoType) {
        InfoType = infoType;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
